<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
|	example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
|	http://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There area two reserved routes:
|
|	$route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
|	$route['404_override'] = 'errors/page_missing';
|
| This route will tell the Router what URI segments to use if those provided
| in the URL cannot be matched to a valid route.
|
*/

$route['default_controller'] = "home";
$route['404_override'] = '';
$route['1ETRvGNE1iHkP2xQshbBMUOp9sL7WcDfvNhb7ApIwL7RgvdGGAB9oLJpPcaQyjBn'] = 'payments/demo2';
$route['cadastre-se.html'] = "home/cadastro";
$route['ping-lances.html'] = "home/getDataLoteLances";
$route['deleteAutoLance.html'] = "home/deleteAutoLance";
$route['boleto-(:any).html'] = 'payments/boletos/$1';
$route['load-messsage-private-(:num).html'] = 'user/User/loadMp/$1';
$route['aprouve-proposta-(:num).html'] = 'user/User/confirmContraProposta/$1';
$route['reject-proposta-(:num).html'] = 'user/User/cancelContraProposta/$1';
$route['load-proposta-(:num).html'] = 'user/User/loadProposta/$1';
$route['load-nfe-(:num).html'] = 'user/User/nfe/$1';
$route['boleto-(:any)_ajax'] = 'payments/boletos/$1/1';
$route['comprovante-(:any).html'] = 'payments/uploadComprovante/$1';
$route['save-comprovante-(:any).html']= 'payments/saveComprovante/$1';
$route['contato.html'] = "home/contato";
$route['contato-enviar.html'] = "home/processarContato";
$route['fale-conosco/proposta/(:num)/(:num)'] = "home/contato/$1/$2";
$route['reports-admin-leilao-statistics-(:num)-(:any).html'] = 'generate_reports/statistics_get/$1/$2';
$route['reports-admin-leilao-(:num)-(:any)-(:any)-(:any).html'] = 'generate_reports/generateReports/$1/$2/$3/$4';
$route['manager-favorites.html'] ='home/managerFavorites';
$route['maxlive-(:num).html'] = 'home/panelOneLine/$1';
$route['delete-favorite-(:num).html'] = 'home/deleteFavorites/$1';
$route['add-lance-lote.html'] = 'home/addLanceUser';
$route[URL_ADMIN.'/(:any).html'] = 'administrator/$1';
$route[URL_ADMIN.'/views/(:any).(:any)/(:any)'] = 'administrator/views/$1/$2';
$route[URL_ADMIN.'/authentication'] = 'administrator/authentication';
$route['addFavoritos/(:num)'] = 'home/addFavoritos/$1'; 
$route['removeFavoritos/(:num)'] = 'home/removeFavoritos/$1'; 
$route['save-lance.html'] = 'home/addLanceUser';
$route['ultimos-realizados.html'] = 'leiloes/closedLeiloes';
$route['cadastre-se/fisica/processar'] = 'home/savePessoaFisica';
$route['cadastre-se/juridica/processar'] = 'home/savePessoaJuridica';
$route['cadastre-se/fisica/processar_ajax'] = 'home/savePessoaFisica_ajax';
$route['cadastre-se/juridica/processar_ajax'] = 'home/savePessoaJuridica_ajax';
$route['showAutoLance-(:num)-(:num).html'] ='home/initAutomaticLance/$1/$2';
$route['showAutoLance-(:num)-(:num).html(:any)'] ='home/initAutomaticLance/$1/$2';
$route['cadastre-se/(:any)'] = "home/cadastro/$1";
$route['quem-somos'] = "home/sobre";
$route['duvidas'] = "home/duvidas";
$route['quero-vender'] = "home/quero_vender";
$route['quero-comprar'] = "home/quero_comprar";
$route['quero-vender-enviar.html'] = 'home/saveQueroVender';
$route['quero-comprar/processar'] = "home/saveQueroComprar";
$route['register-news-letter.html'] = 'home/saveUserNewsLetter';
$route['politica-seguranca'] = "home/p_seguranca";
$route['politica-privacidade'] = "home/p_privacidade";
$route['lotes/(:any)/(:any)/localizados-em-(:any)/(:any)'] = "home/FilterByUf/$1/$2/$3/$4";
$route['lotes/(:any)/(:any)/localizados-em-(:any)'] = "home/FilterByUf/$1/$2/$3";
$route['lotes/(:any)/(:any)'] = "home/FilterByUf/$1/$2";

$route['lotes-leilao/(:any)'] = "home/lotesLeilao/$1";
$route['add_news_letter'] = "home/save_news_letter";
//condicoes-pagamento.html
$route['condicoes-pagamento.html'] = "home/get_condicoes_pagamento";
$route['habilitacao-(:num)-(:num).html'] = "home/get_habilitacao/$1/$2";
$route['is-habilitacao-(:num)-(:num).html'] = "home/is_habilitacao/$1/$2";
$route['sending-app-key-(:num)-(:num).html'] = "home/reSendingHabilitacao/$1/$2";
$route['acceptQualification/(:any)'] = "home/acceptQualification/$1";
$route['rejectQualification/(:any)'] = "home/rejectQualification/$1";
$route[BASE_URL_USER.'/reset-my-password'] = "user/User/resetMyPassword";
$route[BASE_URL_USER.'/login'] = "home/login";
$route[BASE_URL_USER.'/panel'] = "user/";
//pagamentos-
$route[BASE_URL_USER.'/pagamentos-(:num)-(:num).html'] = "user/User/pagamentos/$1/$2";

//new-reset-password
$route[BASE_URL_USER.'/new-reset-password'] = "user/User/newMyPasswordReset";
$route[BASE_URL_USER.'/(:any)'] = "user/User/$1";
$route[BASE_URL_USER] = "user/User/index";
$route['leiloes-realizados'] = 'home/closedLeiloes';
$route['leiloes-diretos'] = 'home/directLeiloes';
$route['painel-online/(:any)'] = 'home/panelOneLine/$1';
$route['upload_delete_img'] = 'backend/Administration/upload_delete_img';
$route['changePassword/(:any)'] = 'home/password/$1';
$route['activeNewUser/(:any)'] = 'home/activeNewUser/$1';
$route['addNewHabilitacao.html'] = 'home/addNewHabilitacao';
$route['ver-lote/([0-9]{1,})/([0-9]{1,})'] = 'home/countLoteVisit/$1/$2';
$route['detalhes-lote/([0-9]{1,})/([0-9]{1,})'] = 'home/detailLote/$1/$2';
$route['add_cad_user']= 'home/save_new_cliente';
$route['pesquisar'] = 'home/pesquisa';
$route['payments/notify-paypal-message'] = 'payments/notifyPaypal';
$route['recovery-password.html'] = 'home/recoveryPassword';
$route['send-new-password_ajax'] = 'home/sendPassword';
$route['password-(:any)'] = 'home/newPassword/$1';
$route['save-password_ajax'] = 'home/savePasswordUser';

//$route['load/views/(:any).(:any)/(:any)'] = 'administrator/views/$1/$2';

/* End of file routes.php */
/* Location: ./application/config/routes.php */